import dayjs from 'dayjs'

export const formatDate = (value, flag = '~') => {
  return dayjs(value).format(`YYYY${flag}MM${flag}DD`)
}
